<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!-- 引入标签库-->
<%@ include file="/pages/inc/taglibs.jsp" %>
<html>
<meta http-equiv="X-UA-Compatible"content="IE=9; IE=8; IE=7; IE=EDGE">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>督办控制台</title>
<%@ include file="/pages/inc/header.jsp" %>
</head>
<body class="main" style="width: 1000px;margin: auto;">
	<div>
	<form id="superviseReportForm">
		<input type="hidden" id="formId" name="formId" value="<c:out value='${docSuperviseReport.formId}'/>"> 
		<input id="formName" name="formName" type="hidden" value="<c:out value='${docSuperviseReport.formName}' />" /> 
		<input id="processId" name="processId" type="hidden" value="<c:out value='${docSuperviseReport.processId}'/>" /> 
		<input type="hidden" id="docId" name="docId" value="<c:out value='${docSuperviseReport.docId}'/>" />
		<input type="hidden" id="noFlow" name="noFlow" value="<c:out value='${noFlow}'/>" />
		<input type="hidden" id="reportFlag" name="reportFlag" value="<c:out value='${noFlow}'/>" />
		<table class="inputTable">
			<caption style="text-align: center;">
					督办事项汇总
			</caption>
			<tr>
				<td class="staticTdNW" style="width: 10%;">分析名称：</td>
				<td class="dynamicTdNW" <c:if test="${noFlow=='1'}">colspan="2"</c:if> >
					<input id="docName" name="docName" value="<c:out value='${docSuperviseReport.docName}'/>" style="width: 400px;">
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">分析报告：</td>
				<td class="dynamicTdNW">
					<div id="fileDiv"></div>
				</td>
				<c:if test="${noFlow=='1'}">
					<td class="dynamicTdNW" style="width: 30%;border-left: none;vertical-align: bottom;">
						 <div class="selfInlineButton inlineBlock">  
				            <a href="javascript:saveReport();" class="easyui-linkbutton" plain="true" icon="icon-save">提交审核</a>  
				        </div>
				        <!-- <div class="selfInlineButton inlineBlock">  
				            <a href="javascript:saveToCMS();" class="easyui-linkbutton" plain="true" icon="icon-redo">发布内网</a>  
				        </div> -->
					</td>
				</c:if>
			</tr>
		</table>
	</form>
	</div>
	<div>
	<!-- 搜索栏 -->
	<table id="searchTable"  class="searchTable" cellpadding="0" cellspacing="0">
		<caption>查询条件</caption>
		<tr>
			<td class="staticTdNW" style="width: 15%;">承办处室</td>
			<td class="dynamicTdNW" style="width: 35%;">
				<select id="orgCode" name="orgCode" class="easyui-combobox" data-options="editable:false" style="width: 240xp;">
					<option value="">请选择</option>
					<c:forEach items="${orgList }" var="item">
						<option value="${item.orgCode }">${item.orgName }</option>
					</c:forEach>
				</select>
			</td>
			<td class="staticTdNW" style="width: 15%;">当前状态</td>
			<td class="dynamicTdNW" >
				<select id="state" name="state" class="easyui-combobox" data-options="editable:false" style="width: 240px;">
					<option value="">请选择</option>
					<option value="DR">未提交反馈</option>
					<option value="TR">反馈审批中</option>
					<option value="BR">已提交反馈</option>
					<option value="TM">已废止</option>
					<option value="DE">已收回</option>
				</select>
			</td>
		</tr>
		<tr>
			
			<td class="staticTdNW">限办时间</td>
			<td class="dynamicTdNW" colspan="3">
				<input name="startDate" name="startDate" class="easyui-datebox" type="text" style="width: 150px;" />（开始）&nbsp;～&nbsp;
				<input name="endDate" name="endDate" class="easyui-datebox" type="text" style="width: 150px;" />（结束）
			</td>
		</tr>
		<tfoot>
			<td class="footTd" colspan="6">
				<div class="selfInlineButton">  
		            <a id="searchButton" href="#" class="easyui-linkbutton" plain="true" icon="icon-search">查询</a>  
		        </div>
			</td>
		</tfoot>
	</table>
	
	
	<script type="text/javascript" src="<c:url value='/js/jquery-easyui-1.5.3/localPlugins/datagrid-detailview.js' />" ></script>
	<script type="text/javascript" src="<c:url value='/js/extends/jquery.form.js' />" ></script>
	<script type="text/javascript">
	<%@ include file="/pages/jsp/docSupervise/superviseReport.js" %>
	</script>
	</div>
	
	<div id="container">
	<!-- 列表表格 -->
	<table id="superviseReportTable" style="width: 100%;"></table>
	</div>
	
	<div id="editBranchDiv"></div>
</body>
</html>